import Vue from 'vue'
import Router from 'vue-router'
import index from '@/pages/index/index'
import task1 from '@/pages/task1/index'
import task2 from '@/pages/task2/index'
import task3 from '@/pages/task3/index'
import task4 from '@/pages/task4/index'
import task5 from '@/pages/task5/index'
import task6 from '@/pages/task6/index'
import task7 from '@/pages/task7/index'
import task9 from '@/pages/task9/index'
import task9Init from '@/pages/task9/init'
import task10 from '@/pages/task10/index'
import task10Init from '@/pages/task10/init'
import task_0131Init from '@/pages/task_0131/init'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      component: index
    },
    {
      path: '/task1',
      component: task1
    },
    {
      path: '/task2',
      component: task2
    },
    {
      path: '/task3',
      component: task3
    },
    {
      path: '/task4',
      component: task4
    },
    {
      path: '/task5',
      component: task5
    },
    {
      path: '/task6',
      component: task6
    },
    {
      path: '/task7',
      component: task7
    },
    {
      path: '/task9',
      component: task9
    },
    {
      path: '/task9Init',
      component: task9Init
    },
    {
      path: '/task10',
      component: task10
    },
    {
      path: '/task10Init',
      component: task10Init
    },
    {
      path: '/task_0131Init',
      component: task_0131Init
    }
  ]
})
